package com.guigu.aoyun.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

@Data
@TableName(value="tickets")
public class Tickets {
    @TableId(value = "ticketID", type = IdType.AUTO)
    private Integer ticketId;
    @TableField(value = "ticketName")
    private String ticketName;
    @TableField(value = "stadiumID")
    private Integer stadiumId;
    @TableField(value = "beginTime")
    private Date beginTime;
    @TableField(value = "totalCount")
    private BigDecimal totalCount;
    @TableField(value = "orderCount")
    private BigDecimal orderCount;
    private Float price;
    private String descn;
}
